package de.tabuma.pm.security;

import javax.jdo.annotations.*;

/**
 * @author $Author: alefen $
 * @version $Revision: 1.1.1.1.6.1 $
 * @since $Date: 2010/01/13 10:19:20 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class SecurityProviderInstance {

    public SecurityProviderInstance() {
        this.activ = new Boolean(false);
    }
    
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    @Persistent
    int projectId;
    public int getProjectId() {
        return projectId;
    }
    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    @Persistent
    String managementUsername;
    public String getManagementUsername() {
        return managementUsername;
    }
    public void setManagementUsername(String managementUsername) {
        this.managementUsername = managementUsername;
    }

    @Persistent
    String managementPassword;
    public String getManagementPassword() {
        return managementPassword;
    }
    public void setManagementPassword(String managementPassword) {
        this.managementPassword = managementPassword;
    }

    @Persistent
    String securityProviderUrl;
    public String getSecurityProviderUrl() {
        return securityProviderUrl;
    }
    public void setSecurityProviderUrl(String securityProviderUrl) {
        this.securityProviderUrl = securityProviderUrl;
    }

    @Persistent
    int ssoProjectId;
    public int getSsoProjectId() {
        return ssoProjectId;
    }
    public void setSsoProjectId(int ssoProjectId) {
        this.ssoProjectId = ssoProjectId;
    }

    @Persistent
    Boolean activ;
    public Boolean getActiv() {
        return activ;
    }
    public void setActiv(Boolean activ) {
        this.activ = activ;
    }

}
